package com.tencreat.domain.mall;

import com.baomidou.mybatisplus.annotation.*;
import com.tencreat.common.annotation.Excel;
import com.tencreat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


/**
 * 快递专区对象 mall_express_zone
 *
 * @author tencreat
 * @date 2022-01-06
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_express_zone")
public class MallExpressZone extends BaseEntity<MallExpressZone> {
    private static final long serialVersionUID = 1L;


    /** 快递专区ID */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    /** 快递专区类型(1 包邮 2 不包邮 3 不配送) */
    @Excel(name = "快递专区类型(1 包邮 2 不包邮 3 不配送)")
    @ApiModelProperty(value= "快递专区类型(1 包邮 2 不包邮 3 不配送)")
    @TableField("`emplate_type`")
    private Integer emplateType;


    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty(value= "用户id")
    @TableField("`user_id`")
    private Long userId;


    /** 快递模板id */
    @Excel(name = "快递模板id")
    @ApiModelProperty(value= "快递模板id")
    @TableField("`template_id`")
    private Long templateId;


    /** 省份IDs ,分割 */
    @Excel(name = "省份IDs ,分割")
    @ApiModelProperty(value= "省份IDs ,分割")
    @TableField("`province_ids`")
    private String provinceIds;


    /** 省份名称s ,分割 */
    @Excel(name = "省份名称s ,分割")
    @ApiModelProperty(value= "省份名称s ,分割")
    @TableField("`province_names`")
    private String provinceNames;


    /** 邮费 */
    @Excel(name = "邮费")
    @ApiModelProperty(value= "邮费")
    @TableField("`postage`")
    private BigDecimal postage;


    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    @TableField("`del_flag`")
    private String delFlag;






    /** 租户ID */
    @Excel(name = "租户ID")
    @ApiModelProperty(value= "租户ID")
    @TableField("`tenant_id`")
    private Long tenantId;


}
